package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("安全顾问详情信息")
data class SecurityAdvisorDetailVo (

        @ApiModelProperty("安全顾问标题信息")
        var securityAdvisorListVo: SecurityAdvisorListVo? = null,

        @ApiModelProperty("开始服务时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        var serviceBeginTime: Date? = null,

        @ApiModelProperty("是否正在服务")
        var serviceStatus: Boolean? = false,

        @ApiModelProperty("结束服务时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        var serviceEndTime: Date? = null,

        @ApiModelProperty("离职原因")
        var leaveReason: String? = null,

        @ApiModelProperty("安全顾问专业信息")
        var businessName: String? = null,

        @ApiModelProperty(value = "邮箱")
        var email: String? = null,

        @ApiModelProperty("服务过的企业")
        var enterpriseUserListVo: MutableList<EnterpriseUserListVo>? = null,

        @ApiModelProperty("简介")
        var introduction: String? = null
)